package edu.sdwu.liqing.qasystem.service;

import edu.sdwu.liqing.qasystem.entity.QaAnswer;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 问题回答表  服务类
 * </p>
 *
 * @author liqing@sdwu.edu
 * @since 2020-04-05
 */
public interface IQaAnswerService extends IService<QaAnswer> {


    boolean save(QaAnswer qaAnswer);

    boolean update(QaAnswer qaAnswer);

    boolean delete(String id);

    QaAnswer get(String id);

    List<QaAnswer> listByQuestionId(String questionId);
}
